package com.example.mbl.service;

import com.example.mbl.entity.User;
import com.example.mbl.result.PageResult;
import com.example.mbl.result.WebRestResult;
import com.example.mbl.result.business.UserPageResult;
import com.example.mbl.result.business.UserResult;

public interface UserService {
    UserResult loginUser(String username,String password);
    WebRestResult addUser(User user);
    WebRestResult deleteUser(User user);
    PageResult<UserPageResult> getUserList(int page,int pagesize);
    WebRestResult updateUser(User user);
}
